<?php
/*
 * Created on 30.05.2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

//include('../phpdoctrine/lib/Doctrine/Record.php');

 class User extends Doctrine_Record {

	public function setTableDefinition () {

		$this->setTableName("user");

		$this->hasColumn
		(
			"vorname",
			"string",//oder boolean, date, integer
			50

		);

		$this->hasColumn
		(
			"nachname",
			"string",
			50
		);

		$this->hasColumn
		(
			"email",
			"string",
			50
		);

		$this->hasColumn
		(
			"land",
			"string",
			50
		);

		$this->hasColumn
		(
			"passwort",
			"string",
			255
		);
	}
 }
?>
